package spec.tianjunxiu.unit3.zuoye;

public class Ball {
    String mc;
    String dx;
    String cz;
    String zl;
    String rq;

    public String getMc() {
        return mc;
    }

    public void setMc(String mc) {
        this.mc = mc;
    }

    public String getDx() {
        return dx;
    }

    public void setDx(String dx) {
        this.dx = dx;
    }

    public String getCz() {
        return cz;
    }

    public void setCz(String cz) {
        this.cz = cz;
    }

    public String getZl() {
        return zl;
    }

    public void setZl(String zl) {
        this.zl = zl;
    }

    public String getRq() {
        return rq;
    }

    public void setRq(String rq) {
        this.rq = rq;
    }

    public String zwjs(){

        return "我是"+mc+"，"+"我的直径是"+dx+"，"+"我的材料是"+cz+"，"+"我的重量大概是"+zl+"，"+"我适用"+rq+"使用";
    }

    public Ball(String mc, String dx, String cz, String zl, String rq) {
        this.mc = mc;
        this.dx = dx;
        this.cz = cz;
        this.zl = zl;
        this.rq = rq;
    }
}